import {Pipe, PipeTransform} from '@angular/core';

/**
 * Generated class for the OrderIdPipe pipe.
 *
 * See https://angular.io/docs/ts/latest/guide/pipes.html for more info on
 * Angular Pipes.
 */
@Pipe({
  name: 'orderIdFormat',
})
export class OrderIdPipe implements PipeTransform {
  /**
   * Takes a value and makes it lowercase.
   */
  transform(order_id: number, ...args) {
    let v=10000000000+order_id;
    return v.toString().substr(1);
  }
}
